//use:
///home/gogoqiu/init/SAE/mydear/
/*
-rw-r--r--  1 root   root      5226182 9月  19 14:44 libsvncpp.a
-rwxr-xr-x  1 root   root         1248 9月  19 14:44 libsvncpp.la
lrwxrwxrwx  1 root   root           18 9月  19 14:44 libsvncpp.so -> libsvncpp.so.4.0.0
lrwxrwxrwx  1 root   root           18 9月  19 14:44 libsvncpp.so.4 -> libsvncpp.so.4.0.0
-rwxr-xr-x  1 root   root      2161816 9月  19 14:44 libsvncpp.so.4.0.0
*/

#include "libsvncpp/include/svncpp/client.hpp"
#include "libsvncpp/include/svncpp/status.hpp"
using namespace svn;

/**
 * build params:
 * -I/media/gogoqiu/Data/tmp/RapidSVN
 * -I/usr/include/subversion-1/
 * -I/usr/include/apr-1.0/
 *  -llibsvncpp.a
 * g++ test_svn.cpp -I/usr/include/subversion-1/ -I/usr/include/apr-1.0/  -L/usr/local/lib -lsvncpp
 * export LD_LIBRARY_PATH="/usr/local/lib"
 * export LD_LIBRARY_PATH="/usr/local/lib:/media/gogoqiu/Data/tmp/RapidSVN/librapidsvn/.libs/"
 * */
int main( int argc, char** argv ){
    const char* path = "/home/gogoqiu/init/SAE/mydear/1";
    Context context;
    svn::ContextListener * listener;
    bool useAuthCache = true;
    context.setAuthCache(useAuthCache);
    context.setListener(listener);
    Client client;
    StatusFilter statusFilter;
    StatusEntries statusEntries;
    bool descend = true;
    const bool update = true;
    client.status( path, &statusFilter, descend, update, &statusEntries  );
    return 0;
}

/*

*/
void status(){

}